<!-- clstag函数-->
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=Edge">
    <meta name="renderer" content="webkit">
    <meta http-equiv="Cache-Control" content="no-transform">
    <meta http-equiv="Cache-Control" content="no-siteapp">


    <title>超级品牌，限时抢购</title>
    <meta name="Keywords" content="超级品牌，爆款直降，限时抢购，限时秒杀">
    <meta name="Description" content=" 1号店yhd.com超级品牌频道每天固定上新，超值特卖，品牌汇聚，限时特价，来超级品牌总会带给你惊喜。">

    <!--css start-->
    <link href="brandShop/global_site_base2.css" rel="stylesheet" type="text/css">
    <link href="brandShop/iconfont.css" rel="stylesheet" type="text/css">
    <link href="brandShop/superSingle.css" rel="stylesheet" type="text/css">
    <!--css end-->
    <style>
        .super-land-good-con .goos-con {
            width: 228px;
            position: relative;
            margin: 0 auto;
            height: 382px;
        }
         .goos-con-a {
            display: block;
            width: 100%;
            position: relative;
        }
        .super-land-good-con .layer-bg {
            width: 228px;
            height: 228px;
            display: block;
            position: absolute;
            z-index: 1;
            background-color: #fff;
            opacity: .7;
            filter: Alpha(opacity=70);
            top: 16px;
        }
        .super-land-good-con .goods-img {
            width: 228px;
            height: 228px;
            display: inline-block;
            margin: 16px 0px;
        }
        .super-land-good-con .title {
            width: 100%;
            font-size: 14px;
            color: #333;
            line-height: 1;
            margin-bottom: 4px;
        }
        .goos-con .land-middle {
            position: absolute;
            left: 0px;
            top: 302px;
        }
        .goos-con .sold {
            line-height: 1;
            font-size: 14px;
            color: #999;
        }
        .kucun{
            margin-left: 5px;
            line-height: 1;
            font-size: 10px;
        }

        .goos-con .bar-con {
            width: 228px;
            height: 8px;
            -moz-border-radius: 100px;
            border-radius: 100px;
            background: #e6e6e6;
            margin-top: 8px;
            position: relative;
        }

        .goos-con .price-cart {
            width: 100%;
            position: absolute;
            bottom: 0px;
            left: 0px;
        }
        .goos-con .price-cart .super-brand-price {
            float: left;
            width: 125px;
            overflow: hidden;
            white-space: nowrap;
        }
        .super-brand-price .new-unit {
            font-size: 14px;
            color: #ff4040;
            font-weight: 600;
            font-family: arial;
        }
        .super-brand-price .new-price {
            font-size: 20px;
            color: #ff4040;
            position: relative;
            left: 0px;
        }
        .goos-con .cart {
            float: right;
            width: 92px;
            height: 30px;
            background: #ff4040;
            -webkit-box-shadow: 0 4px 8px 0 rgba(255,64,64,0.50);
            -moz-box-shadow: 0 4px 8px 0 rgba(255,64,64,0.50);
            box-shadow: 0 4px 8px 0 rgba(255,64,64,0.50);
            -moz-border-radius: 15px;
            border-radius: 15px;
            text-align: center;
            line-height: 31px;
            color: #fff;
            font-size: 12px;
            cursor: pointer;
        }
        .super-land-good-con ul li {
            width: 260px;
            height: 402px;
            background-color: #fff;
            float: left;
            margin-right: 10px;
            position: relative;
            margin-top: 20px;
        }

    </style>


   </head>

<body class="">

<div class="hd_header_wrap">
    <!-- top_bar base -->

    <div class="hd_top_bar">
        <div class="wrap clearfix">

            <a href="" class="hd_topbar_main">
                <i class="icon iconfont"></i>
                <span class="text">格调首页</span>
            </a>

            <div class="hd_indxProvce hd_has_child" id="headerSelectProvince"
                 clstag="pageclick|keycount|shouye_20181018|toolbar_SelectAddress">

                <a class="hd_topbar_city" id="currProvince" href="javascript:void(0);">
                    <i class="icon iconfont"></i>
                    <span class="text">送货地址&nbsp;:</span>
                    <em>上海</em>
                </a>

                <div class="hd_city_select" style="display: none" id="hd_city_select"
                     data-hot="2817,上海市,2&amp;&amp;2816,北京市,1&amp;&amp;1601,广州市,19&amp;&amp;1607,深圳市,19&amp;&amp;904,南京市,12&amp;&amp;1213,杭州市,15&amp;&amp;1381,武汉市,17&amp;&amp;1930,成都市,22&amp;&amp;48131,重庆市,4&amp;&amp;988,苏州市,12&amp;&amp;51035,天津市,3&amp;&amp;1116,合肥市,14&amp;&amp;1233,温州市,15&amp;&amp;984,无锡市,12&amp;&amp;1158,宁波市,15&amp;&amp;978,常州市,12">
                    <a href="javascript:;" class="hd_city_close">×</a>

                    <div class="hd_cur_city_wrap clearfix">
                        <span class="hd_cur_city">搜索城市：</span>
                        <div class="hd_city_search">
                            <div class="hd_city_input">
                                <em class="icon iconfont"></em>
                                <input type="text" placeholder="&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;请输入城市名称">
                                <span class="hd_citys_close">x</span>
                            </div>
                            <div class="hd_city_suggest" style="display: none;">

                            </div>
                        </div>
                    </div>
                </div>

            </div>
            <div class="hd_topbar_home">
                <i class="icon iconfont"></i>
                <ul class="hd_topbar_home_ul">
                    <a href="" title="网警提示" clstag="pageclick|keycount|shouye_20181018|toolbar_Announcement1">
                        <li class="hd_topbar_home_li"><span class="text">网警提示</span></li>
                    </a>
                </ul>
            </div>
            <div class="hd_topbar_right">
                <ul>
                    <li id="global_unlogin" style="display: none;">
                        <div class="hd_unlogin" clstag="pageclick|keycount|shouye_20181018|toolbar_Login">
                            <span class="hd_hi">下午好,请</span>
                            <a href="login.html" class="hd_login_link">登录&nbsp;</a>
                            <a href="register.html" class="hd_regist_link">&nbsp;注册</a>

                        </div>
                    </li>
                    <li id="global_login" class="" style="" data-type="2017">
                        <div class="hd_login">
                            <div class="hd_login_name_con">
                                <span class="hd_hi">下午好,</span>
                                <a href="" class="hd_login_name"
                                   clstag="pageclick|keycount|shouye_20181018|toolbar_NickName">嘈鸭am</a>
                                <a href="javascript:bothSiteLogoutJsonp()" class="hd_login_out"
                                   clstag="pageclick|keycount|shouye_20181018|toolbar_LogOut">退出</a>
                            </div>
                            <a href="" class="hd_vip hd_vip__gradeStyle__ hd_vip1">新晋</a>
                        </div>
                    </li>
                    <li>
                        <div class="hd_menu" clstag="pageclick|keycount|shouye_20181018|toolbar_VipClub">
                            <a href=""><i class="icon iconfont"></i><span class="text">会员俱乐部</span></a>
                        </div>
                    </li>
                    <li>
                        <div class="hd_menu" clstag="pageclick|keycount|shouye_20181018|toolbar_Orders">
                            <a href="" rel="nofollow">
                                <i class="icon iconfont"></i><span class="text">我的订单</span></a>
                        </div>
                    </li>
                </ul>
            </div>
        </div>
    </div>
    <!-- top_main base -->

    <div class="header_bp" style="height: 142px">
        <div class="wrap hd_header">
            <div class="hd_logo_area">
                <a href="" class="hd_logo" clstag="pageclick|keycount|shouye_20181018|YHDLogo">
                    <img src="" alt="" style="background: rgba(0, 0, 0, 0) none repeat scroll 0% 0%;"></a>
                <a class="hd_slogan" href="javascript:;" clstag="pageclick|keycount|shouye_20181018|YHDLogoAds">
                    <div class="inner"><img src="brandShop/5c05314cNf894bdef.jpg"
                                            style="background: rgba(0, 0, 0, 0) none repeat scroll 0% 0%;"></div>
                </a>
            </div>

            <div class="hd_header_right">

                <div class="clearfix">
                    <div class="hd_head_search">
                        <div class="hd_search_form  hd_search_red " style="top:0px" id="hdSearchForm">
                            <div class="hd_fixed_wrap">
                                <a href="javascript:;" class="hd_fixed_logo"><img src="brandShop/5c0531cbN7380a580.jpg"
                                                                                  alt=""
                                                                                  style="background: rgba(0, 0, 0, 0) none repeat scroll 0% 0%;"
                                                                                  width="205" height="60"></a>
                                <div class="hd_search_wrap clearfix">
                                    <label for="keyword" class="hd_search_tip" style="display:none;"></label>
                                    <input class="hd_search_ipt" name="keyword" id="keyword" type="text"
                                           placeholder="怡宝矿泉水" original="怡宝矿泉水" url="" maxlength="100"
                                           autocomplete="off" x-webkit-speech=""
                                           onwebkitspeechchange="emptySearchBar();"
                                           x-webkit-grammar="builtin:translate">
                                    <button type="button" class="hd_search_btn" onclick="javascript:searchMeForClick();"
                                            clstag="pageclick|keycount|shouye_20181018|Search"><i class="icon iconfont"></i>
                                    </button>
                                </div>
                                <!--搜索提示 begin-->
                                <div id="searchSuggest" class="hd_search_tips_result hd_search_tips_result_global"
                                     style="display:none" onmouseover="$('#searchSuggest').show()"></div>
                                <!--搜索提示 end-->
                            </div>
                        </div>
                        <p id="hotKeywordsShow" class="hd_hot_search"><a title="德生" href="">德生</a> <a title="萤石摄像头"
                                                                                                      href="">萤石摄像头</a>
                            <a title="厨房卷纸" href="">厨房卷纸</a> <a title="清洁湿巾" href="">清洁湿巾</a> <a title="手纸"
                                                                                                 href="">手纸</a> <a
                                    title="餐巾纸" href="">餐巾纸</a> <a title="手帕纸巾" href="">手帕纸巾</a></p>
                        <!--搜索推荐-->
                    </div>
                    <div class="hd_mini_cart" id="miniCart" data-version="1"
                         clstag="pageclick|keycount|shouye_20181018|Cart">
                        <u class="hd_c_num " id="in_cart_num" style="display: none"></u>
                        <a class="hd_prism_cart" href="shopcar.html">
                            <em class="icon iconfont"></em><span>购物车</span>
                        </a>
                    </div>

                </div>
            </div>

        </div>
    </div>
</div>
<div id="mark_mask"
     style="display:none;position:fixed;top:40px;left:0;z-index:99999999;height:1000px;width:100%;background:rgba(0,0,0,0.4);"></div>
<!--content start-->

<div class="super super-brand-moudle">
    <div class="super-nav-con" style="position: fixed; top: 0px; z-index: 999;">
        <div class="super-nav wrap">
            <div class="super-nav-left">
                <a href="SingleShop.html" class="">超级单品</a>
                <a href="javascript:void(0);" id="superPP" class="cur">超级品牌</a>
                <a class="">超级品类</a>
            </div>
        </div>
    </div>

    <div class="super-swipe-con wrap">
        <div class="super-bg"
             style=" background-image: url('//img.yihaodianimg.com/tuangou/groupon/supersingleimages/super_bg.png')">
        </div>
        <div class="super-swipe-lb" id="super_swipe_lb_id" style="display: none;">
            <ul class="super-swipe-ul">

            </ul>
            <ul class="super-swipe-tab">

            </ul>
        </div>
    </div>

    <div class="super-banner wrap" id="pinpai">今日上新</div>
    <div id="superBrandShop" class="super-brand-con wrap">
        <div  class="super-land-good-con wrap">
            <ul class="clearfix" id="brandList">
            </ul>
        </div>

    </div>
    <div class="super-brand-con wrap" id="todayBrandList"
         clstag="pageclick|keycount|SuperBrandList_20181228|BeingActivity_Overall">
        <ul style="margin-left: 260px" id="superBrandList">
        </ul>
    </div>
    <div class="super-brand-bottom wrap">
        <span class="bottom-line"></span>
        <span class="bottom-text">没找到合适的商品？切换顶部导航查看更多~</span>
        <span class="bottom-line"></span>
    </div>
    <div class="super-brand-right" id="ringhtFloating" style="display: block;">

        <a href="javascript:;" class="cur" style="">今日上新</a>
        <a href="javascript:;" class="go-top" id="go-top"
           clstag="pageclick|keycount|SuperBrandList_20181228|BackToTopButton">TOP<i class="icon iconfont"></i></a>
    </div>
    <div class="empty-page empty-page-brand" style="display: none" id="brand_empty">
        <div class="super-bg"></div>
        <div class="empty-con">
            <img class="empty-img" src="brandShop/empty-xq.png" alt=""
                 style="background: rgba(0, 0, 0, 0) none repeat scroll 0% 0%;">

        </div>
    </div>
</div>
<!--content end-->
<div class="ft_wrap">
    <div id="globalBottomBrowseRelated" data-recordtracker="1"></div>
    <div class="wrap ft_footer_service clearfix" id="footerIcon" data-tpa="YHD_GLOBAl_FOOTERICON">
        <a>
            <img alt="" src="brandShop/CgQI0lWskgmADBnsAAAPZvcSh3E68900.jpg"
                 style="background: rgba(0, 0, 0, 0) none repeat scroll 0% 0%;">
            <b>正品保障</b>
            <span>正品行货 放心选购</span>
        </a>
        <a>
            <img alt="" src="brandShop/ChEbulWsk4iADa_aAAAM544hHN818600.jpg"
                 style="background: rgba(0, 0, 0, 0) none repeat scroll 0% 0%;">
            <b>满86包邮</b>
            <span>满86元 免运费</span>
        </a>
        <a>
            <img alt="" src="brandShop/CgQIz1WslI-Adao3AAAN5b_ut2I80100.jpg"
                 style="background: rgba(0, 0, 0, 0) none repeat scroll 0% 0%;">
            <b>售后无忧</b>
            <span>7天无理由退货</span>
        </a>
        <a>
            <img alt="" src="brandShop/ChEi11WsyiyALBbiAAAN9lEEK5M33200.jpg"
                 style="background: rgba(0, 0, 0, 0) none repeat scroll 0% 0%;">
            <b>准时送达</b>
            <span>收货时间由你做主</span>
        </a>
    </div>

    <div class="wrap ft_service_link clearfix">
        <div id="bottomHelpLinkId" class="ft_help_list clearfix" data-tpa="YHD_GLOBAl_FOOTER_HELP">
            <dl>
                <dt>新手入门</dt>
                <dd><a href="">购物流程</a></dd>
                <dd><a href="">会员制度</a></dd>
                <dd><a href="">订单查询</a></dd>
                <dd><a href="">服务协议及隐私说明</a></dd>
                <dd><a href="">网站地图</a></dd>
            </dl>

            <dl>
                <dt>支付方式</dt>
                <dd><a href="">货到付款</a></dd>
                <dd><a href="">网上支付</a></dd>
                <dd><a href="">礼品卡支付</a></dd>
                <dd><a href="">其它支付</a></dd>
            </dl>

            <dl>
                <dt>配送服务</dt>
                <dd><a href="">配送进度查询</a></dd>
                <dd><a href="">商品验货与签收</a></dd>
            </dl>

            <dl>
                <dt>售后保障</dt>
                <dd><a href="">退换货政策</a></dd>
                <dd><a href="">发票制度</a></dd>
                <dd><a href="">帮助中心</a></dd>
            </dl>
        </div>

    </div>
    <div id="footer">
        <p class="ft_footer_link">
        </p>

        <p class="ft_footer_link">
            <a href="">沪ICP备16050468号</a>
            |
            <a href="">经营证照</a>
            |
            <a href="">互联网药品信息服务资格证(沪)-经营性-2017-0006</a>
            |
            <a>违法和不良信息举报电话：0527-88100253</a>
            |
            <a href="">沪B2-20170039</a>
            |
            <a href="">沪公网安备 31010502002939号</a>
            |
            <a href="">友情链接</a>
            |
            <a href="">出版物经营许可证</a>
            |
            <a href="">增值电信业务经营许可证</a>

        </p>

        <p>Copyright© 格调同城 2007-2019，All Rights Reserved</p>

        <small id="footerbanner2LazyLoad" class="ft_pic_link">
            <a href="">
                <img alt="" src="brandShop/CgQCr1PQy1CAF7vaAABDexsiEYM24800.jpg"
                     style="background: rgba(0, 0, 0, 0) none repeat scroll 0% 0%;">
            </a>

            <a href="">
                <img alt="" src="brandShop/ChEi1VcfPl2AC1T8AAANFrEfJlw97300.jpg"
                     style="background: rgba(0, 0, 0, 0) none repeat scroll 0% 0%;">
            </a>

            <a href="">
                <img alt="" src="brandShop/ChEi2lh171KAJrGlAAALl_uZt0E75600.jpg"
                     style="background: rgba(0, 0, 0, 0) none repeat scroll 0% 0%;">
            </a>

            <a href="">
                <img alt="" src="brandShop/ChEi1FYXHcOAVk_WAAAL2r2-yfo10200.jpg"
                     style="background: rgba(0, 0, 0, 0) none repeat scroll 0% 0%;">
            </a>

            <a href="">
                <img alt="" src="brandShop/CgQCrlPYTqCASlHXAAAd82JE0eA31000.png"
                     style="background: rgba(0, 0, 0, 0) none repeat scroll 0% 0%;">
            </a>

            <a href="">
                <img alt="" src="brandShop/5a706bb1Ne3eec0dd.png"
                     style="background: rgba(0, 0, 0, 0) none repeat scroll 0% 0%;">
            </a>

        </small>
    </div>
</div>

<!--js start-->
<!--无页面级头部js时, 全局头部js下移-->
<script type="text/javascript" src="brandShop/supersingle.js"></script>
<script type="text/javascript" src="brandShop/synccookiepc.js"></script>
<script type="text/javascript" src="brandShop/joya.js"></script>
<script type="text/javascript" src="brandShop/login_frame_client.js"></script>
<script type="text/javascript" src="js/jquery-1.8.3.min.js"></script>
<script type="text/javascript" src="js/axios.js"></script>
<script type="text/javascript">
    var sh;
    sh = setInterval(_fresh, 100);
</script>

<script type="text/javascript">
    // var value=$("#times").val();
    var brand;
    $(document).ready(function () {

        Intercept();

        if(brand==undefined){
            loadBrand();
        }else if(brand!=undefined){
            superBrand(brand);
        }

        $("#superPP").on( 'click', function( e ) {
            window.location.href="brandShop.html";
        })

    })


    //查询商品及品牌
    function loadBrand(){

        $.getJSON("http://ivr3ur.natappfree.cc/selectBrand",  function (data) {
            alert("查询商品");
            if (data.length > 0) {
                // var bli = "";
                var li="";
                document.getElementById("superBrandShop").style.display="none";
                document.getElementById("todayBrandList").style.display = "inline";
                for(var j=0;j<data.length;j++)
                {
                    var _brandShop={
                        "storeid": 1,
                        "pageSize": 10,
                        "pageNo": 1,
                        "state": 1,
                        "brand":data[j].brand
                    }
                    alert(data[j].brand);
                    li+=" <li >\n" +
                        "     <a    class=\"super-brand-li-con\" href=\"javascript:void(-1);\">\n" +
                        "         <div onclick='brandShop(\""+data[j].brand+"\")' class=\"super-brand-tit clearFixed\"><p  class=\"super-brand-tit-text\"><span>"+data[j].brand+"</span></p>\n" +
                        "         </div>\n" +
                        "         <div class=\"super-brand-goods-con\">\n" +productHtml(_brandShop)+
                        "         </div>\n" +
                        "     </a>\n" +
                        "</li>";
                }
                $("#superBrandList").append(li);
                // var li = "";
                // for (var j = 1; j <= data.pageCount; j++) {
                //     li += "  <li> <a href='javascript:void(0)'>" + j + "</a> </li>";
                // }
                // $("#pageList").append(li);
            } else {
                document.getElementById("hotProductsWrap").style.display = "inline";
            }
    })
    }

    //html查询的商品信息
    function productHtml(_brandShop) {
        var html="";
        $.ajaxSettings.async=false;
        $.getJSON("http://ivr3ur.natappfree.cc/selectAllCom", _brandShop, function (data1) {
            for (var i = 0; i < data1.data.length; i++) {
                html += "  <div style='margin-top: -10px' class=\"super-brand-goods\"><img class=\"super-brand-goods-img\"\n" +
                    "                            src=\"brandShop/2796607d87811ce5.png\" alt=\"\"\n" +
                    "                            style=\"background: rgba(0, 0, 0, 0) none repeat scroll 0% 0%;\"\n" +
                    "                            data-imgattr=\"wideimg\">\n" +
                    "                  <div class=\"super-brand-price\"><span\n" +
                    "                         class=\"new-price\" style='font-size: 13px;color:lightslategray'>"+data1.data[i].name+"</span>\n" +
                    "      </div>\n" +
                    "                  <div class=\"super-brand-price\"><span class=\"new-unit\">￥</span><span\n" +
                    "                         class=\"new-price\">"+data1.data[i].saleprice+"</span>\n" +
                    "      </div>\n" +
                    "  </div>";

            }
        })
        $.ajaxSettings.async=true;
        return html;
    }

    function Intercept() {
        var url = location.search;
        var Request = new Object();
        if (url.indexOf("?") != -1) {
            var str = url.substr(1)　//去掉?号
            strs = str.split("&");
            for (var i = 0; i < strs.length; i++) {
                Request[strs[i].split("=")[0]] = decodeURI(strs[i].split("=")[1]);
            }
        }
        brand = Request["value"];
    }

    var date=new Date();
    var year = date.getFullYear(); //获取年
    var month = date.getMonth()+1;//获取月
    var day = date.getDate(); //获取当日
    var time = year+"-"+month+"-"+day; //组合时间
    //加入购物车
    function shopCar(commodityid){
        alert(0);
        var _data = {
            "storeid": 1,
            "userid": 1,
            "commodityid": commodityid,
            "number": 1,
            "state":0,
            "createtime": time
        }
        alert(_data.commodityid);
        axios.post("http://ivr3ur.natappfree.cc/insertShopCar", _data)
            .then(function (response) {
                alert(response);
                if(response.data>0){
                    alert("已加入购物车")
                }
            })
    }

    //根据品牌查所有商品
    function superBrand() {
        // event.stopPropagation();
        var shop = {
            "storeid": 1,
            "pageSize": 10,
            "pageNo": 1,
            "state": 1,
            "brand": brand
        }
        $("#pinpai").text(shop.brand);

        if(shop.brand!=undefined){
            document.getElementById("todayBrandList").style.display = "none";
            $.getJSON("http://ivr3ur.natappfree.cc/selectAllCom", shop, function (data) {
                alert("查询商品");
                if (data.data.length > 0) {
                    // var bli = "";
                    var html = "";
                    for (var i = 0; i < data.data.length; i++) {
                        html += "<li><div class='goos-con'><a class='goos-con-a'  href=''>"+
                            "<div href='javascirpt:;' class='layer-bg none' style='display: none;'><div>已售完</div> </div>"+
                            "<img src=''class='goods-img'  style='ackground: rgba(0, 0, 0, 0) none repeat scroll 0% 0%;'>"+
                            "<p class='title limit'>"+data.data[i].name+"</p></a>"+
                            "<div class='land-middle'><p class='sold'>已售80%</p><div class='bar-con'>"+
                            "<div class='bar-progress' style='width:80%'></div></div></div><div class='price-cart clearfix'>"+
                            "<div class='super-brand-price'><span class='new-unit'>￥</span>"+
                            "<span class='new-price'>"+data.data[i].saleprice+"</span>"+
                            "<span class='kucun'>库存："+data.data[i].stock+"</span>" +
                            "</div><div class='cart'><a onclick='shopCar("+data.data[i].id+")' href='javaScript:void(-1)'>加入购物车 </a></div></div></div></li>";

                    }

                    $("#brandList").append(html);
                    // var li = "";
                    // for (var j = 1; j <= data.pageCount; j++) {
                    //     li += "  <li> <a href='javascript:void(0)'>" + j + "</a> </li>";
                    // }
                    // $("#pageList").append(li);
                } else {
                    document.getElementById("hotProductsWrap").style.display = "inline";
                }
            });

        }
    }

    function brandShop(shopB){
        var shop = {
            "storeid": 1,
            "pageSize": 10,
            "pageNo": 1,
            "state": 1,
            "brand": shopB
        }
        $("#pinpai").text(shopB);

        if(shop.brand!=undefined){
            document.getElementById("todayBrandList").style.display = "none";
            document.getElementById("superBrandShop").style.display = "inline";
            $.getJSON("http://ivr3ur.natappfree.cc/selectAllCom", shop, function (data) {
                alert("查询商品");
                if (data.data.length > 0) {
                    // var bli = "";
                    var html = "";
                    for (var i = 0; i < data.data.length; i++) {
                        html += "<li><div class='goos-con'><a class='goos-con-a'  href=''>"+
                            "<div href='javascirpt:;' class='layer-bg none' style='display: none;'><div>已售完</div> </div>"+
                            "<img src=''class='goods-img'  style='ackground: rgba(0, 0, 0, 0) none repeat scroll 0% 0%;'>"+
                            "<p class='title limit'>"+data.data[i].name+"</p></a>"+
                            "<div class='land-middle'><p class='sold'>已售80%</p><div class='bar-con'>"+
                            "<div class='bar-progress' style='width:80%'></div></div></div><div class='price-cart clearfix'>"+
                            "<div class='super-brand-price'><span class='new-unit'>￥</span>"+
                            "<span class='new-price'>"+data.data[i].saleprice+"</span>"+
                            "<span class='kucun'>库存："+data.data[i].stock+"</span>" +
                            "</div><div class='cart'><a onclick='shopCar("+data.data[i].id+")' href='javaScript:void(-1)'>加入购物车 </a></div></div></div></li>";

                    }
                    $("#brandList").append(html);
                    // var li = "";
                    // for (var j = 1; j <= data.pageCount; j++) {
                    //     li += "  <li> <a href='javascript:void(0)'>" + j + "</a> </li>";
                    // }
                    // $("#pageList").append(li);
                } else {
                    document.getElementById("hotProductsWrap").style.display = "inline";
                }
            });

        }
    }
</script>

<iframe id="globalLocalStorageAdaptorForGet" style="display:none" src="brandShop/getLocalStorage.htm"
        loaded="1"></iframe>
</body>
</html>